Neurosis Engine
Public Member Functions | Public Attributes
float2 Class Reference

#include <custom.h>

List of all members.

Public Member Functions

 float2 (float initX=0.0f, float initY=0.0f)
 ~float2 ()
 Constructor/Deconstructor.
float2 operator+ (float2 rhs)
float2 operator- (float2 rhs)
float2 operator* (float rhs)
float2 operator* (float2 rhs)
float2 operator/ (float rhs)
float2 operator/ (float2 rhs)
void operator= (float2 rhs)
bool operator== (float2 rhs)
bool operator!= (float2 rhs)
 Operators.
float Length ()
 Gets the length.

Public Attributes

float x
float y

Constructor & Destructor Documentation

float2::float2 ( float  initX = 0.0f,
float  initY = 0.0f 
)

Constructor/Deconstructor.


Member Function Documentation

float float2::Length ( )

Gets the length.

bool float2::operator!= ( float2  rhs)

Operators.

float2 float2::operator* ( float  rhs)
float2 float2::operator* ( float2  rhs)
float2 float2::operator+ ( float2  rhs)
float2 float2::operator- ( float2  rhs)
float2 float2::operator/ ( float  rhs)
float2 float2::operator/ ( float2  rhs)
void float2::operator= ( float2  rhs)
bool float2::operator== ( float2  rhs)

Member Data Documentation

float float2::x
float float2::y

The documentation for this class was generated from the following file: